<template>
    <!-- <el-card shadow="never" style="background-color:#EBEEF5;padding:0;margin:20px 0;" body-style="padding:0"> -->
    <el-form inline style="margin:20px 0;" ref="searchForm">
        <slot></slot>
        <el-form-item>
            <el-button @click="reset">重置</el-button>
            <el-button type="primary">查询</el-button>
        </el-form-item>
    </el-form>
    <!-- </el-card> -->
</template>

<script>
export default {
  name: "search",
  props: {},
  methods: {
    reset() {
      this.$refs["searchForm"].resetFields();
    }
  }
};
</script>

<style lang="scss" scoped>
// .el-form-item {
//   margin-bottom: 0;
// }
</style>

